import QtQuick 2.15
import QtQuick.Window 2.15
import QtQuick.Controls 2.5

Window {
    width: 640
    height: 480
    visible: true
    title: qsTr("Hello World")

    //c++调用qml
    Label {
        id: label
        objectName: 'labelQml'
        text: 'qml && cpp'
        font.pointSize: 18

        function getText(info) {
            return text + info;
        }
    }
}
